package com.gamex.findit.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("image")
@XmlRootElement
public class Image extends BaseModel implements Serializable{
	private static final long serialVersionUID = -5393158997830963151L;
	
	private int imgId;
	private String score;
	private int level;
	private int point;
	private Date regDate;
	private Date modDate;
	private String state;
	private String x;
	private String y;
	private String xSize;
	private String ySize;
	private int account;
	private int downCnt;
	private String userDevice;
	private String img;
	private String userId;
	private String imgType;
	private String userRole;
	
	/** json String 留뚮뱾���ъ슜 */
	private List<ImageCut> imageCut = new ArrayList<ImageCut>();
	private ADImage adImage;
	
	public ADImage getAdImage() {
		return adImage;
	}

	public void setAdImage(ADImage adImage) {
		this.adImage = adImage;
	}

	public List<ImageCut> getImageCut() {
		return imageCut;
	}

	public void setImageCut(List<ImageCut> imageCut) {
		this.imageCut = imageCut;
	}
	
	public String getUserRole() {
		return userRole;
	}

	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	public String getImgType() {
		return imgType;
	}

	public void setImgType(String imgType) {
		this.imgType = imgType;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getImgId() {
		return imgId;
	}

	public void setImgId(int imgId) {
		this.imgId = imgId;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public Date getModDate() {
		return modDate;
	}

	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getX() {
		return x;
	}

	public void setX(String x) {
		this.x = x;
	}

	public String getY() {
		return y;
	}

	public void setY(String y) {
		this.y = y;
	}
	
	public String getxSize() {
		return xSize;
	}

	public void setxSize(String xSize) {
		this.xSize = xSize;
	}

	public String getySize() {
		return ySize;
	}

	public void setySize(String ySize) {
		this.ySize = ySize;
	}

	public int getAccount() {
		return account;
	}

	public void setAccount(int account) {
		this.account = account;
	}

	public int getDownCnt() {
		return downCnt;
	}

	public void setDownCnt(int downCnt) {
		this.downCnt = downCnt;
	}

	public String getUserDevice() {
		return userDevice;
	}

	public void setUserDevice(String userDevice) {
		this.userDevice = userDevice;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	
	@Override
	public String toString() {
		return "Image [imgId=" + imgId + ", score=" + score + ", level=" + level + ", point=" + point
				+ ", regDate=" + regDate + ", modDate=" + modDate
				+ ", state=" + state + ", x=" + x + ", y=" + y + ", Xsize="
				+ xSize + ", Ysize=" + ySize + ", account=" + account
				+ ", downCnt=" + downCnt + ", userDevice=" + userDevice
				+ ", img=" + img + "]";
	}
	
	
	
}
